
public class Logger {
        private static StringBuffer log = new StringBuffer();

        public synchronized static void logWrite(String l) {
                log.append(l);
        }

        public synchronized static StringBuffer getLog() {
                return log;
        }

}